<html>
<head><meta charset="utf-8"><title>debugging broken compiler dependency · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/debugging.20broken.20compiler.20dependency.html">debugging broken compiler dependency</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="204467647"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/debugging%20broken%20compiler%20dependency/near/204467647" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Xavier Denis <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/debugging.20broken.20compiler.20dependency.html#204467647">(Jul 20 2020 at 19:49)</a>:</h4>
<p>Hi! it seems like a change I made causes a dependency to fail to compile, how do I go about debugging this? I'd like to add logging to the source so I can figure out what's failing or get access to the MIR of a specific module, how do I do this using <code>./x.py</code> ?</p>



<a name="204469992"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/debugging%20broken%20compiler%20dependency/near/204469992" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Xavier Denis <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/debugging.20broken.20compiler.20dependency.html#204469992">(Jul 20 2020 at 20:10)</a>:</h4>
<p>ugh the problem is in <code>build.rs</code></p>



<a name="204470007"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/debugging%20broken%20compiler%20dependency/near/204470007" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Xavier Denis <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/debugging.20broken.20compiler.20dependency.html#204470007">(Jul 20 2020 at 20:10)</a>:</h4>
<p>how do I debug a <code>build.rs</code>?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>